﻿using System;
using System.Text;

class StringToUnicodeLiterals
{
    static void Main()
    {
        string text = "Hi!";

        StringBuilder output = new StringBuilder();

        for (int i = 0; i < text.Length; i++)
        {
            output.Append("\\");
            output.Append(((int)text[i]).ToString("X4"));
        }

        Console.WriteLine(output);
    }
}